package one.stand.request.live;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import one.stand.request.BaseRequest;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 短视频
 * @author luoyang
 * @date 2020/5/20 13:44
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ShortVideoDataForm对象", description="短视频播放转发数据，需要修改那个属性值就传那个,如果都传则全部修改")
public class ShortVideoDataForm extends BaseRequest implements Serializable {
    @ApiModelProperty(value = "短视频id,修改时必须")
    private Integer videoId;

    @ApiModelProperty(value = "播放量,修改时传入1")
    private Integer playVolume ;

    @ApiModelProperty(value = "点赞次数,修改时传入1")
    private Integer likesNum;

    @ApiModelProperty(value = "转发次数,修改时传入1")
    private Integer forwardNum;

    @ApiModelProperty(value = "关注人数,修改时传入1")
    private Integer attentionNum;

    @ApiModelProperty(value = "状态,修改时传入")
    private Integer state;

    //为true时是点赞 为false时是取消
    @ApiModelProperty(value = "为true时是点赞 为false时是取消")
    private Boolean isLikes;

}
